package com.listening.works.service.common;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.listening.framework.base.service.ServiceSupport;
import com.listening.framework.exception.BusinessException;
import com.listening.framework.utils.Page;
import com.listening.framework.utils.Pagination;
import com.listening.works.domain.common.RoleDomain;
import com.listening.works.entity.common.Role;

@Service
@Transactional
public class RoleService implements ServiceSupport<RoleDomain, Role, String> {

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.listening.framework.base.service.ServiceSupport#insert(java.lang.
	 * Object, java.io.Serializable)
	 */
	@Override
	public String insert(RoleDomain domain, String id) throws BusinessException {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.listening.framework.base.service.ServiceSupport#delete(java.io.
	 * Serializable)
	 */
	@Override
	public Integer delete(String id) throws BusinessException {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.listening.framework.base.service.ServiceSupport#modify(java.lang.
	 * Object)
	 */
	@Override
	public Integer modify(RoleDomain domain) throws BusinessException {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.listening.framework.base.service.ServiceSupport#select(java.lang.
	 * Object)
	 */
	@Override
	public List<RoleDomain> select(RoleDomain domain) throws BusinessException {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.listening.framework.base.service.ServiceSupport#selectByPK(java.io
	 * .Serializable)
	 */
	@Override
	public RoleDomain selectByPK(String id) throws BusinessException {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.listening.framework.base.service.ServiceSupport#selectPageList(com
	 * .listening.framework.utils.Page, java.lang.Object)
	 */
	@Override
	public Pagination<RoleDomain> selectPageList(Page page, RoleDomain domain) throws BusinessException {
		// TODO Auto-generated method stub
		return null;
	}

}
